<%@ page import="java.util.ArrayList" %>
<%@ page import="java.util.List" %>
<%@ page import="util.JDBC" %>
<%@ page import="java.sql.ResultSet" %>
<%@ page import="entity.User" %><%--
  Created by IntelliJ IDEA.
  User: 10799
  Date: 2018/12/8
  Time: 20:27
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>个人信息</title>
    <link rel="stylesheet" type="text/css" href="statics/css/initialition.css">
    <link rel="stylesheet" type="text/css" href="statics/css/myInformation.css">
</head>
<body>
<div id="cqr">
    <%@ include file="header.jsp"%>
    <%
        String userId="";
        try{
            userId=session.getAttribute("userId").toString();
        }catch (Exception ex){//没有userId则跳转
            response.sendRedirect("login.jsp");
        }
    %>
    <table class="form">
        <tr>
            <td>旧密码：</td>
            <td><input type="password" v-model="oldPassword"></td>
        </tr>
        <tr>
            <td>新密码：</td>
            <td><input type="password" v-model="newPassword"></td>
        </tr>
        <tr>
            <td>确认密码：</td>
            <td><input type="password" v-model="newPassword2"></td>
        </tr>
        <tr><td>&nbsp;</td></tr>
        <tr><td>&nbsp;</td><td><button v-on:click="updateInformation()">修改</button></td></tr>
    </table>
</div>
</body>
<script src="statics/js/jquery-3.3.1.min.js"></script>
<script src="statics/js/vue.js"></script>
<script src="statics/js/information.js"></script>
</html>
